- current_index = @index + 1
- parent_index = @index
- models.each do |child|
  - current_index = render_node child, current_index, parent_index
  - current_index += 1
= @rendered_html.html_safe
